package com.woniu.service;
import com.woniu.entity.FlowerComment;
import com.woniu.vo.FlowerCommentVoCZT;
import com.woniu.vo.MyPage;

import java.util.List;

public interface EvaluateService {
    List<FlowerComment> findAllFlowerComment();

    List<FlowerComment> findAllFlowerCommentByAccountId(Integer accountId);

    List<FlowerCommentVoCZT> findAllFlowerCommentVoByAccountId(Integer accountId);

    int addFlowerComment(FlowerComment flowerComment);

    List<FlowerCommentVoCZT> findAllFlowerCommentVoByAccountIdAndPAge(MyPage myPage);

    int deleteFlowerCommentByCommentId(Integer commentId);

    List<FlowerCommentVoCZT> findAllFlowerCommentVoByAccountIdAndPageAndFlowerId(MyPage myPage);

    List<FlowerCommentVoCZT> findAllFlowerCommentVoByAccountIdAndFlowerId(MyPage myPage);

    boolean changeOrder(Long orderId);

    boolean changeOrderItem(Integer cartId, Integer contentId);

    int getOrderToEval(Long orderId);
}
